'use strict';
/**
 * JQGrid-Ctrl
 *
 * @author 
 * @version [1.0.0, 2017/11/23]
 * @see 
 * @since 1.0.0
 */
(function ($, app) {
    app.controller('JQGridCtrl', 
    		['$q', '$scope', 'dialogs', '$state', '$stateParams',
    		 '$uibModal', 'JQGridService', 'resolver', JQGridCtrl]);
    
    function JQGridCtrl($q, $scope, dialogs, $state, $stateParams, $uibModal, JQGridService, resolver) {
    	var vm = this;
    	
    	vm.tableOptions = JQGridService.getJQGrid();
    	
    	//操作
    	vm.operation = function(id){
    		dialogs.confirm(id);
    	}
    }
    

})(jQuery, app);
